/*
 * Copyright (C) 2011 CrystalRange
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.crystalrange.documents.model;

import java.util.Date;
import org.crystalrange.model.User;

// TODO: Auto-generated Javadoc
/**
 * The Class DocumentLockedHistory.
 *
 * @author Krzysiek
 */
public class DocumentLockedHistory {
    
    /** The id. */
    private Long id;
    
    /** The check in date. */
    private Date checkInDate;
    
    /** The check out date. */
    private Date checkOutDate;
    
    /** The locked by. */
    private User lockedBy;
    
    /** The document. */
    private Document document;

    /**
     * Gets the check in date.
     *
     * @return the check in date
     */
    public Date getCheckInDate() {
        return checkInDate;
    }

    /**
     * Sets the check in date.
     *
     * @param checkInDate the new check in date
     */
    public void setCheckInDate(Date checkInDate) {
        this.checkInDate = checkInDate;
    }

    /**
     * Gets the check out date.
     *
     * @return the check out date
     */
    public Date getCheckOutDate() {
        return checkOutDate;
    }

    /**
     * Sets the check out date.
     *
     * @param checkOutDate the new check out date
     */
    public void setCheckOutDate(Date checkOutDate) {
        this.checkOutDate = checkOutDate;
    }

    /**
     * Gets the document.
     *
     * @return the document
     */
    public Document getDocument() {
        return document;
    }

    /**
     * Sets the document.
     *
     * @param document the new document
     */
    public void setDocument(Document document) {
        this.document = document;
    }

    /**
     * Gets the id.
     *
     * @return the id
     */
    public Long getId() {
        return id;
    }

    /**
     * Sets the id.
     *
     * @param id the new id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * Gets the locked by.
     *
     * @return the locked by
     */
    public User getLockedBy() {
        return lockedBy;
    }

    /**
     * Sets the locked by.
     *
     * @param lockedBy the new locked by
     */
    public void setLockedBy(User lockedBy) {
        this.lockedBy = lockedBy;
    }
}
